﻿using Abp.Application.Services;
using Microsoft.AspNetCore.Mvc;
using SOEI.Solution.Application.Contracts.CommonOthers.BarCode.Dtos;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace SOEI.Solution.Application.Contracts.CommonOthers.BarCode
{
    public interface IBarCodeAppService : IApplicationService
    {

        /// <summary>获取二维码图片
        /// </summary>
        Task<FileContentResult> GetBarCodeImage(BarCodeInputDto input);

        /// <summary>获取二维码图片Base64字符串
        /// </summary>
        Task<string> GetBarCodeImageBase64(BarCodeInputDto input);

        /// <summary>创建二维码
        /// </summary>
        Task CreateBarCode(BarCodeInputDto input);

    }
}
